import { loadPromptFromTemplate, generatePrompt } from '../loader.js';

interface DetailAnalyzeProblemParams {
  problemDescription: string;
  analysisDepth?: string;
  contextInfo?: string;
  memoryDir?: string;
}

export async function getDetailAnalyzeProblemPrompt(params: DetailAnalyzeProblemParams): Promise<string> {
  const template = await loadPromptFromTemplate('detailAnalyzeProblem/index.md');
  
  return generatePrompt(template, {
    problemDescription: params.problemDescription,
    analysisDepth: params.analysisDepth || 'detailed',
    contextInfo: params.contextInfo || '无特殊上下文信息'
  });
}
